package main

import (
	_ "go-gin/controller"
	_ "go-gin/model"

	"github.com/gin-gonic/gin"
	_ "gorm.io/gorm"
)

func main() {
	r := gin.Default()
	r = CollectRoute(r)
	panic(r.Run()) // 监听并在 0.0.0.0:8080 上启动服务
}
